package edu.wpi.first.wpilibj.templates;

import edu.wpi.first.wpilibj.AnalogChannel;
import edu.wpi.first.wpilibj.PIDSource;

/**
 *
 * @author buttercream
 */
public class SteerEncoder implements PIDSource
{
    AnalogChannel raw;

    public SteerEncoder(int slot, int channel)
    {
        raw = new AnalogChannel(slot, channel);
    }
    /**
     * Return the raw gear tooth value
     * @return
     */
    public double pidGet()
    {
        return raw.getValue();
    }

}
